package com.yf.course.modules.course.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * @author wangjun
 * @date 2025/2/27 17:56
 */
@Data
@TableName("el_course_ref_point")
public class CourseRefPoint extends Model<CourseRefPoint> {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 标题
     */
    private String title;

    /**
     * 课程ID
     */
    private String courseId;

    /**
     * 课件排序
     */
    private Integer sort;

    /**
     * 知识点描述
     */
    @TableField("desknowledge")
    private String desKnowledge;
}
